﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.Core;

namespace Yuanlin.Business
{
    public class AquacultureAndAppCategoryRelationRequest : TEntityRequest<AquacultureAndAppCategoryRelation>
    {
        private int? aquacultureId = 0;
        private int? categoryType = 0;
        private string categoryIds = null;

        public int? AquacultureId
        {
            get
            {
                return aquacultureId;
            }
            set
            {
                aquacultureId = value;
            }
        }
        public int? CategoryType
        {
            get
            {
                return categoryType;
            }
            set
            {
                categoryType = value;
            }
        }
        public string CategoryIds
        {
            get
            {
                return categoryIds;
            }
            set
            {
                categoryIds = value;
            }
        }
    }
    public class AquacultureAndAppCategoryRelationListRequest : TEntityListRequest<AquacultureAndAppCategoryRelation>
    {
        private int? aquacultureId = GetParameterValue<int?>(YuanlinParameterName.AquacultureId);
        private int? categoryId = GetParameterValue<int?>(YuanlinParameterName.CategoryId);
        private int? categoryType = GetParameterValue<int?>(YuanlinParameterName.CategoryType);
        private string categoryIds = null;

        public int? AquacultureId
        {
            get
            {
                return aquacultureId;
            }
            set
            {
                aquacultureId = value;
            }
        }
        public int? CategoryId
        {
            get
            {
                return categoryId;
            }
            set
            {
                categoryId = value;
            }
        }
        public int? CategoryType
        {
            get
            {
                return categoryType;
            }
            set
            {
                categoryType = value;
            }
        }
        public string CategoryIds
        {
            get
            {
                return categoryIds;
            }
            set
            {
                categoryIds = value;
            }
        }
    }
    public class AquacultureAndAppCategoryRelationReply : EntityReply
    {
    }
}
